package main
import (
	// "fmt"
	"studygolang/26_employee/employee"
	"studygolang/26_employee/employeeNew"
)
func main() {
	e := employee.Employee {
		FirstName: "yang",
		LastName: "hao",
		TotalLeaves: 40,
		LeavesTaken: 10,
	}
	e.LeavesRemaining()
	
	// 零值
	var e1 employee.Employee
	e1.LeavesRemaining()

	// new
	e2 := employeeNew.New("yang", "hao", 20, 11)
	e2.LeavesRemaining()
}
